package org.easy.tool.service;

import org.easy.tool.entity.Company;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Valley
 * @since 2024-02-27 20:20:11
 */
public interface ICompany extends IService<Company> {

    /**
     * 功能：根据股票code获取股票公司
     */
    public Company getCompany(String code);

    /**
     * 功能：刷新数据库数据
     */
    List<LinkedHashMap> refreshData() throws Exception;



}
